package com.miaosha.fx;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.DatePicker;
import javafx.stage.Stage;
import javafx.stage.StageStyle;

/**
 * 原生GUI，暂时没有用
 * @author TANGJZ2
 *
 */
public class MiaoShaGui extends Application{
	
	public static void main(String[] args) {  
        Application.launch(MiaoShaGui.class, args);  
    }  

	@Override
	public void start(Stage stage) throws Exception {
		Parent root = FXMLLoader.load(getClass().getResource("/miaoshaui.fxml"));
		Scene scene = new Scene(root, 600, 400);  
        stage.initStyle(StageStyle.DECORATED);  
        stage.setScene(scene);  
        stage.setTitle("美的内购秒杀程序");  
        stage.show();
	}

}
